// 查询
const queryUrlMap = {
    query: '',
    queryByTrainNo: '',
    queryTicketPrice: ''
}

// 初始JSESSIONID
const initJSESSIONIDDUrlMap = {
    getLoginBanner: 'https://kyfw.12306.cn/otn/index12306/getLoginBanner',
}

// 扫码登录
const scanCodeLoginUrlMap = {
    'create-qr64': 'https://kyfw.12306.cn/passport/web/create-qr64',
    checkqr: 'https://kyfw.12306.cn/passport/web/checkqr',
    uamtk: 'https://kyfw.12306.cn/passport/web/auth/uamtk',
    passport: 'https://kyfw.12306.cn/otn/passport?redirect=/otn/login/userLogin',
    uamauthclient: 'https://kyfw.12306.cn/otn/uamauthclient',
    conf: 'https://kyfw.12306.cn/otn/login/conf',
    initMy12306Api: 'https://kyfw.12306.cn/otn/index/initMy12306Api'
}
// 账户密码登录
const accountPasswordLoginUrlMap = {
    checkLoginVerify: 'https://kyfw.12306.cn/passport/web/checkLoginVerify',
    getMessageCode: 'https://kyfw.12306.cn/passport/web/getMessageCode'
}

// 预定订单
const bookingOrdersUrlMap = {
    checkUser: 'https://kyfw.12306.cn/otn/login/checkUser',
    submitOrderRequest: 'https://kyfw.12306.cn/otn/leftTicket/submitOrderRequest',
    initDc: 'https://kyfw.12306.cn/otn/confirmPassenger/initDc',
    getPassengerDTOs: 'https://kyfw.12306.cn/otn/confirmPassenger/getPassengerDTOs',
    checkOrderInfo: 'https://kyfw.12306.cn/otn/confirmPassenger/checkOrderInfo',
    getQueueCount: 'https://kyfw.12306.cn/otn/confirmPassenger/getQueueCount',
    confirmSingleForQueue: 'https://kyfw.12306.cn/otn/confirmPassenger/confirmSingleForQueue',
    queryOrderWaitTime: 'https://kyfw.12306.cn/otn/confirmPassenger/queryOrderWaitTime'
}

module.exports = {
    scanCodeLoginUrlMap,
    accountPasswordLoginUrlMap,
    bookingOrdersUrlMap,
    queryUrlMap,
    initJSESSIONIDDUrlMap
}